ReadFromStorage
TheReadFromStorage
method reads the content of this name space from the specified storage-unit view.
void ReadFromStorage (in ODStorageUnitView view);
view
- A reference to the storage-unit view from which the data is to be read.
DISCUSSION
You call this method to read in the content of a name space that was written to a storage unit using theWriteToStorage
method.The content of this name space is stored in the storage unit as a single stream of data. The focus context for the specified storage-unit view should be the value from which the name space is to be read.
This method does not remove the existing content of this name space, but it will overwrite any entry that has the same key as an entry from the storage unit. After this method executes successfully, this name space contains new entries corresponding to entries read from the storage unit.
EXCEPTIONS
kODErrInvalidNSName
- The stored name does not match the name of this name space.
SEE ALSO
TheODNameSpace::WriteToStorage
method (page 433).
TheODStorageUnitView
class (page 725).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help